﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace SCMS.Model
{
    [MetadataType(typeof(WarehouseReleaseMetaData))]
    public partial class WarehouseRelease { }

    public class WarehouseReleaseMetaData
    {
        [Required]
        public object ReceivedBy { get; set; }
        [Required]
        public object ApprovedBy { get; set; }
        [Required]
        public object WareHouseId { get; set; }
    }

    [MetadataType(typeof(WarehouseReleaseItemMetaData))]
    public partial class WarehouseReleaseItem { }

    public class WarehouseReleaseItemMetaData
    {
        [Required]
        public object QuantityDamaged { get; set; }
        [Required]
        public object QuantityReceived { get; set; }
        [Required]
        public object Quantity { get; set; }
    }
}
